FROM python:3.7.4
ENV TZ=Asia/Shanghai
RUN mkdir -p /www/testflask
COPY . /www/testflask
WORKDIR /www/testflask
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
CMD gunicorn -c gun.conf manager:app
